package com.gcxy.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.gcxy.conf.result.PageDTO;
import com.gcxy.conf.result.PageVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.validation.annotation.Validated;

import java.time.LocalDateTime;

@Data
@EqualsAndHashCode(callSuper = false)
@Validated
@ApiModel(value = "PenDTO",description = "圈舍结果访问对象")
public class PenVO extends PageDTO {
    @ApiModelProperty(value = "圈舍编号")
    private Integer penId;

    @ApiModelProperty(value = "牧场编号")
    private Integer ranchId;

    @ApiModelProperty(value = "牧场名称")
    private String ranchName;

    @ApiModelProperty(value = "圈舍名称")
    private String penName;

    @ApiModelProperty(value = "圈舍状态;是否启用(1:启用，0:停用)")
    private Integer penStatus;

    @ApiModelProperty(value = "存栏量")
    private Integer amountLivestock;

    @ApiModelProperty(value = "创建人")
    private String creater;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新人")
    private String updater;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;
}
